package com.zq.server.admin.domain;

import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Chat   消息实体类
 * @author Super 
 * @version 2024/03/26 02:53
**/

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SysActivityNotify {
    private Long id;
    // 发送时间
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy年MM月dd日 HH:ss")
    private LocalDateTime sendTime;
    // 消息的内容
    private String message;
    // 接收对象
    private Long targetId;
    // 消息的类型，1: 通知消息 inform，2: 提醒 Remind，3：私信 Message
    private Integer type;
    // 目标的类型 0：前台   1未后端
    private Integer targetType;

    private Long activityId;

    private String activityTitle;

    private String msgHead;

    private String activityImage;

    private Integer status;

}
